body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f5f5f5;
}

.container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.editor-container {
    margin-bottom: 20px;
}

.CodeMirror {
    height: 300px !important;
    font-size: 14px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.button-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: #4CAF50;
    color: white;
}

.secondary-btn {
    background-color: #f0f0f0;
    color: #333;
}

button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.output-container {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.output-container h3 {
    margin-top: 0;
    color: #495057;
    font-size: 16px;
}

#output {
    font-family: 'Courier New', Courier, monospace;
    white-space: pre-wrap;
    padding: 10px;
    margin: 0;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

#output.error {
    color: #dc3545;
    background-color: #fff5f5;
}

#output.success {
    color: #28a745;
    background-color: #f8fff8;
}

@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
    }
    
    .CodeMirror {
        height: 250px !important;
    }
} 